package gov.pbc.nn.kjgl.joinjrfwygl.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 参与部们，反馈的主表，新开业银行的主表
 * 
 * @author jack.zhao
 * 
 */
@Entity
@Table(name = "T_HANDLE_DEPT")
public class HandleDept extends BaseEntity {
	private static final long serialVersionUID = -7696145439692210926L;
	@Column(name = "JOIN_ID_", length = 60)
	@PropertyDef(label = "申请Id")
	private String joinId;

	@Column(name = "DEPT_ID_", length = 60)
	@PropertyDef(label = "参与部门ID", description = "参与部门ID:参与部门ID")
	private String deptId;

	@Column(name = "DEPT_NAME_", length = 300)
	@PropertyDef(label = "参与部门", description = "参与部门:参与部门")
	private String deptName;

	@Column(name = "TRAIN_CZ_", length = 64)
	@PropertyDef(label = "审核处长", description = "审核本次开业申请的处长id")
	private String trainCz;

	@Column(name = "TRAIN_CZ_CNAME_", length = 64)
	@PropertyDef(label = "审核处长", description = "审核本次开业申请的处长姓名")
	private String trainCzCname;
	
	// 辅导意见主要有回去或者不会去，详细的审批意见可以看流程的审批历史
	@Column(name = "参与意见")
	@PropertyDef(label = "参与意见", description = "0:等待操作:1同意参与：2拒绝参与")
	private int opinion;

	

	public String getJoinId() {
		return joinId;
	}

	public void setJoinId(String joinId) {
		this.joinId = joinId;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public int getOpinion() {
		return opinion;
	}

	public void setOpinion(int opinion) {
		this.opinion = opinion;
	}

	public String getTrainCz() {
		return trainCz;
	}

	public void setTrainCz(String trainCz) {
		this.trainCz = trainCz;
	}

	public String getTrainCzCname() {
		return trainCzCname;
	}

	public void setTrainCzCname(String trainCzCname) {
		this.trainCzCname = trainCzCname;
	}
	
}
